package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    //保存排班
    void save(Map<String, Object> paramMap);
    //查询排班规则汇总数据
    Map<String, Object> getScheduleRule(long page, long limit, String hoscode, String depcode);
    //查询排班详细数据集合
    List<Schedule> getScheduleDetail(String hoscode, String depcode, String workDate);

    //获取可预约排班数据
    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    //根据排班id获取排班详情
    Schedule findScheduleById(String id);

    //根据排班id获取预约下单数据
    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    /**
     * 修改排班
     */
    void update(Schedule schedule);

    //根据hoscode、hosScheduleId查询排班信息
    Schedule getByHoscodeAndHosScheduleId(String hoscode, String hosScheduleId);






}
